<!DOCTYPE html>
<html lang='en'>

<head>
    <meta charset='UTF-8'>
    <meta name='viewport' content='width=device-width, initial-scale=1.0'>
    <title>Document</title>
    <script type='text/javascript' src='js/vue.js'></script>
</head>

<body>
    <div id='app'>
        {{msg}}=======
        <input type="text" @keyup='aa($event)'>
        <p style="background:red">我是鼠标事件</p>
    </div>
    <script type='text/javascript'>
        var vm = new Vue({
            el: '#app',
            data: {
                msg: 'Hello Vue'
            },
            methods: {
                aa(e) {
                    console.log(e,1111);

                },
                bb() {
                    console.log('2222');

                }
            }
        });
    </script>
</body>

</html>